def function( name=None, test=None, att={},**arg):
    print "name: " + name
    print "test: " + test
    print "att keys: "+att.keys()[0]
    print "arg: "+ arg.keys()[0]
    
function('name', 'test', {'argkey':'value1'}, key='value')